import axios from 'axios'

export const $post = (url,data)=>{
  return axios({
    url: url,
    method: 'post',
    data: data,
    headers: {
      
    }
  })
}

export const $get = (url,params={})=>{
  return axios({
    url:url,
    params:params,
  })
}